package com.jxdinfo.hussar.cloud.module.example.lift.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 升降机历史统计表(LiftHistoryCount)DTO类
 * @author zhangkai
 * @since 2023-06-14 15:11:50
 */
@ApiModel(description = "升降机历史统计表DTO")
@Data
public class LiftHistoryCountDto  {

    private static final long serialVersionUID = 1L;

    /**
    * 升降机id
    */
    @ApiModelProperty(value = "升降机id")
    private String liftId;
    /**
     * 升降机名称
     */
    @ApiModelProperty(value = "升降机名称")
    private String liftName;
    /**
    * 当日预警数量
    */
    @ApiModelProperty(value = "当日预警数量")
    private Integer warnCount;
    /**
    * 当日报警数量
    */
    @ApiModelProperty(value = "当日报警数量")
    private Integer errorCount;
    /**
    * 当日累计吊装次数
    */
    @ApiModelProperty(value = "当日累计吊装次数")
    private Integer workNum;
    /**
    * 当日工作净时长，单位分钟
    */
    @ApiModelProperty(value = "当日工作净时长，单位分钟")
    private Integer workDuration;
    /**
    * 当日累计载重重量，单位KG
    */
    @ApiModelProperty(value = "当日累计载重重量，单位KG")
    private BigDecimal workWeight;
    /**
    * 统计日期
    */
    @ApiModelProperty(value = "统计日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date countDate;
    /**
     * 项目编号
     */
    @ApiModelProperty(value = "项目编号")
    private String tyProjectCode;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tyCreateTime;
    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id")
    private String tyCreateUserid;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String tyCreateUserName;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date tyLastUpdateTime;
    /**
     * 更新人id
     */
    @ApiModelProperty(value = "更新人id")
    private String tyLastUpdateUserid;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String tyLastUpdateUserName;

    @ApiModelProperty(value = "当日日间工作净时长")
    private Integer workDayDuration;

    @ApiModelProperty(value = "当日夜间工作净时长")
    private Integer workNightDuration;

}